package com.cqc.mall.ware.feign;

import com.cqc.mall.api.CommonResult;
import com.cqc.mall.ware.entity.InfoEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(name = "cq-product",path = "/test")
public interface ProductFeignApi {
    
    @GetMapping("/get-by-id")
    @ResponseBody
    CommonResult<InfoEntity> getById();

}
